package com.huangwenshuo.futurestarschoolmanagement.service;

import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.ActivityDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.po.ActivitysPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.ActivitysVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangwenshuo
 * @since 2021-02-28
 */
public interface ActivitysService extends IService<ActivitysPo> {

    Map<String,Object> getActivitys(ActivityDto.ActivityPage activityPage);

    ActivitysVo getActivityById(ActivityDto.ActivityPage activityPage);

    void updateAct(ActivityDto.UpdateAct updateAct);

    void apply(Integer uid, Integer aid);

    void addAct(ActivityDto.AddAct addAct);

    Map<String, Object> getActApply(ActivityDto.ActivityPage activityPage);
}
